/**
 * Created by inna.ianko on 4/18/14.
 */

var By = require('selenium-webdriver').By,
    po = require('selenium-pageobject'), extend = po.extend, Element = po.elements.Element;

module.exports = (function (_super) {
    extend(MyPageModel, _super);

    function MyPageModel() {
        _super.apply(this, arguments);

        this.username = this.ef.textbox(By.id('Email'));
        this.password = this.ef.textbox(By.id('Passwd'));
        this.loginButton = this.ef.element(By.id('signIn'));
    }

    return MyPageModel;
})(Element);